# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'value.ui'
#
# Created: Sat Mar 21 14:45:24 2009
#      by: PyQt4 UI code generator 4.3.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Value(object):
    def setupUi(self, Value):
        Value.setObjectName("Value")
        Value.resize(QtCore.QSize(QtCore.QRect(0,0,178,96).size()).expandedTo(Value.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(Value)
        self.vboxlayout.setObjectName("vboxlayout")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")

        self.label = QtGui.QLabel(Value)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)

        self.value = QtGui.QDoubleSpinBox(Value)
        self.value.setDecimals(8)
        self.value.setMinimum(-1e+39)
        self.value.setMaximum(1e+39)
        self.value.setObjectName("value")
        self.hboxlayout.addWidget(self.value)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.buttonBox = QtGui.QDialogButtonBox(Value)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(Value)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),Value.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),Value.reject)
        QtCore.QMetaObject.connectSlotsByName(Value)

    def retranslateUi(self, Value):
        Value.setWindowTitle(QtGui.QApplication.translate("Value", "Enter value", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Value", "Value", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    Value = QtGui.QDialog()
    ui = Ui_Value()
    ui.setupUi(Value)
    Value.show()
    sys.exit(app.exec_())
